package org.moda.functional;


import org.moda.functional.collection.Stream;

public class Main {

    public static void main(String[] args) {
        var xx = Stream.of("1", "2", "3").map(x -> x + "-ok").flatMap(x -> Stream.of(x, x, x)).map(x -> x + "-end");
        System.out.println(xx);
//        Stream<String> xs = Stream.of("1", "2", "3").map(x -> x + "-ok").convert();
//        xs.forEach(System.out::println);
    }
}
